load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")

go_library(
    name = "go_default_library",
    srcs = ["main.go"],
    importpath = "github.com/uber/prototool/cmd/prototool",
    visibility = ["//visibility:private"],
    deps = ["//internal/cmd:go_default_library"],
)

go_binary(
    name = "prototool",
    embed = [":go_default_library"],
    visibility = ["//visibility:public"],
)
